-
-
Notifications
You must be signed in to change notification settings - Fork 8
analysis: add Bazel toolchain analysis #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
toolchain-analysis/bazel.md
Outdated
## Cons | ||
|
||
* Other dependencies will need Node.js-maintained Bazel build files | ||
* Currently support a limited set of platforms |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm curious which host platforms node supports and Bazel doesn't? Perhaps the Bazel team can ship more binaries.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's less about bazel running on the platform and more about V8 providing the configurations for those platforms or not (according to this comment the range of platforms supported by the bazel configs is only a subset of currently supported platforms with GN).
|
||
## Need more info | ||
|
||
* Could V8 use Bazel instead of GN in their CI? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think @philwo is best suited to answer this.
6b5def1
to
6b6db21
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
this only refers to building Node.js itself, not addons. An analysis of options for addons might be done in the future
This analysis is based on information gathered on
nodejs/TSC#901. We still need to collect more
information, especially in currently supported platforms and toolchains
(including minimum version for both). Consolidating the information here so
it's easier for us to iterate on it.